<template>
  <el-dialog
    :title="title"
    width="1500px"
    :before-close="handleClose"
    :visible="visible"
  >
    <auditLogList :log-id="logId" :is-show-sign="isShowSign" :is-load="visible" @load="load" />
  </el-dialog>
</template>

<script>
import auditLogList from './auditLogList.vue'
export default {
  components: {
    auditLogList
  },
  props: {
    logId: {
      type: String,
      default: null
    },
    isShowSign: {
      type: Boolean,
      default: false
    },
    visible: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {
      title: null
    }
  },
  computed: {
  },
  mounted() {},
  methods: {
    handleClose() {
      this.$emit('update:visible', false)
    },
    load(res) {
      this.title = res.DocTitle + '流转记录'
    }
  }
}
</script>

